package com.baizhi.hospital.controller;

import com.baizhi.hospital.service.FilesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class FilesController {
    @Autowired
    private FilesService filesService;
    @RequestMapping("selectFilesByPage")
    public Map selectFilesByPage(int page,int limit,String fileName){
        return filesService.selectFilesByPage(page, limit, fileName);
    }
}
